package com.shtel.paas.monitorcenter.system.management.user.management.mapper;

import java.util.List;

import com.shtel.paas.monitorcenter.system.management.user.management.entity.LogUserRoleEntity;
import com.shtel.paas.monitorcenter.system.management.user.management.entity.LogUserRolePermission;
import com.shtel.paas.monitorcenter.system.management.user.management.entity.XxlJobQrtzMenuInfo;

/**
 * @author: zhangyy 2018年5月17日 monitorCenter--角色权限管理模块数据查询接口
 */
public interface RoleAndAuthorityManagementMapper {

	// 查询所有角色
	List<LogUserRoleEntity> selectRoles(String roleName);

	// 创建角色
	Integer createRole(LogUserRoleEntity paramter);

	// 修改角色
	Integer updateRole(LogUserRoleEntity paramter);

	// 删除单个用户信息
	Integer deleteRoleByIds(LogUserRoleEntity logUserRoleEntity);

	// 批量删除用户
	Integer deleteRoleBatch(List<String> str_id);

	// 删除单个用户信息log_user_role_permission表外键
	Integer deleteRoleByIdsDelLURP(LogUserRolePermission logUserRolePermission);

	// 批量删除用户log_user_role_permission表外键
	Integer deleteRoleBatchDelLURP(List<String> str_id);

	// 查询menu列表整体
	List<XxlJobQrtzMenuInfo> selectMenuData();

}
